package com.peng.design.acyclicvisitor;

import com.peng.design.acyclicvisitor.acceptable.Hayes;
import com.peng.design.acyclicvisitor.acceptable.Zoom;

/**
 * App
 *
 * @author: lupeng10
 * @create: 2023-04-28 11:54
 */
public class App {

    public static void main(String[] args) {
        ConfigureForUnixVisitor configureForUnixVisitor = new ConfigureForUnixVisitor();
        ConfigureForDosVisitor configureForDosVisitor = new ConfigureForDosVisitor();

        Zoom zoom = new Zoom();
        Hayes hayes = new Hayes();

        zoom.accept(configureForUnixVisitor);
        hayes.accept(configureForUnixVisitor);

        zoom.accept(configureForDosVisitor);
        hayes.accept(configureForDosVisitor);
    }
}
